﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace work2
{
    class Program
    {
        static void Main(string[] args)
        {
            Car car = new Car();
            Console.WriteLine("请输入车的名字:");
            car.CarName= Console.ReadLine();

            Console.WriteLine("请输入车的颜色:");
            car.CarColor = Console.ReadLine();

            Console.WriteLine("请输入车的轮子数:");
            car.CarWheel = int.Parse(Console.ReadLine());
            //判断结果输出
            car.Run();
        }
    }
}
